﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ReportTest.aspx.cs" Inherits="Customer_Profile.eCardReport.ReportTest" %>

<%@ Register assembly="DevExpress.Web.ASPxGridView.v9.3, Version=9.3.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxGridView" tagprefix="dx" %>
<%@ Register assembly="DevExpress.Web.ASPxEditors.v9.3, Version=9.3.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxEditors" tagprefix="dx" %>

<%@ Register assembly="DevExpress.Web.ASPxGridView.v9.3.Export, Version=9.3.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxGridView.Export" tagprefix="dx" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div> 
        <asp:Label ID="lblContent" runat="server"></asp:Label>
        <asp:TextBox ID="txtName" runat="server"></asp:TextBox>
        <dx:ASPxGridView ID="ASPxGridView1" runat="server" Width="100%" 
            AutoGenerateColumns="False" 
            CssFilePath="~/App_Themes/Office2003Blue/{0}/styles.css" 
            CssPostfix="Office2003Blue" >
            <Columns>
                
                <dx:GridViewDataTextColumn   FieldName="card_no" VisibleIndex="2" />            
                <dx:GridViewDataTextColumn   FieldName="procduct_name" VisibleIndex="3" />               
                <dx:GridViewDataTextColumn   FieldName="cparty_name" VisibleIndex="5" GroupIndex="0" />   
                <dx:GridViewDataTextColumn   FieldName="real_count" VisibleIndex="7" />
                <dx:GridViewDataTextColumn   FieldName="incard_count" VisibleIndex="9" />
                <dx:GridViewDataTextColumn   FieldName="value_date" VisibleIndex="10" >
                    <PropertiesTextEdit DisplayFormatString="yyyy-MM-dd" />  
                    </dx:GridViewDataTextColumn>
                <dx:GridViewDataTextColumn   FieldName="due_date" VisibleIndex="11" >   
                <PropertiesTextEdit DisplayFormatString="yyyy-MM-dd" />  
                    </dx:GridViewDataTextColumn>
                    <dx:GridViewDataTextColumn   FieldName="ifis_again" VisibleIndex="12" />
                    <dx:GridViewDataTextColumn   FieldName="owner_cardno" VisibleIndex="13" />
            </Columns>
            <SettingsPager PageSize="20">
            </SettingsPager>
            <Settings ShowFooter="True" />
                <TotalSummary>
                    <dx:ASPxSummaryItem FieldName="card_no" ShowInColumn="card_no" SummaryType="Count" />
                    <dx:ASPxSummaryItem FieldName="real_count" ShowInColumn="real_count" SummaryType="Sum" DisplayFormat="c" />
                </TotalSummary>        
                <GroupSummary>
                    <dx:ASPxSummaryItem FieldName="card_no" SummaryType="Count"/>
                    <dx:ASPxSummaryItem FieldName="real_count" SummaryType="Sum" DisplayFormat="c"/>
                </GroupSummary>
            <Images SpriteCssFilePath="~/App_Themes/Office2003Blue/{0}/sprite.css">
                <LoadingPanelOnStatusBar Url="~/App_Themes/Office2003Blue/GridView/gvLoadingOnStatusBar.gif">
                </LoadingPanelOnStatusBar>
                <LoadingPanel Url="~/App_Themes/Office2003Blue/GridView/Loading.gif">
                </LoadingPanel>
            </Images>
            <ImagesFilterControl>
                <LoadingPanel Url="~/App_Themes/Office2003Blue/Editors/Loading.gif">
                </LoadingPanel>
            </ImagesFilterControl>
            <Styles CssFilePath="~/App_Themes/Office2003Blue/{0}/styles.css" 
                CssPostfix="Office2003Blue">
                <Header ImageSpacing="5px" SortingImageSpacing="5px">
                </Header>
                <LoadingPanel ImageSpacing="10px">
                </LoadingPanel>
            </Styles>
            <StylesEditors>
                <ProgressBar Height="25px">
                </ProgressBar>
            </StylesEditors>
        </dx:ASPxGridView>
    </div>
    <dx:ASPxGridViewExporter ID="ASPxGridViewExporter1" runat="server">
    </dx:ASPxGridViewExporter>
    <asp:Button ID="Button1" runat="server" onclick="Button1_Click" Text="Button" />
    </form>
</body>
</html>